﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SASS.Sociales.Util
{
    public class SIASSGenerica
    {

       public static string APP_SISTEMA{
           get { 
               return Convert.ToString(System.Web.HttpContext.Current.Session["APP_SISTEMA"]); 
           }
       }

       public static string USR_CodigoUsuario
       {
           get
           {
               return Convert.ToString(System.Web.HttpContext.Current.Session["USR_CODIGO_USUARIO"]);
           }
       }

       public static string USR_CodigoPersonal
       {
           get
           {
               return Convert.ToString(System.Web.HttpContext.Current.Session["USR_CODIGO_PERSONAL"]);
           }
       }

       public static string USR_Nombre
       {
           get
           {
               return Convert.ToString(System.Web.HttpContext.Current.Session["USR_NOMBRE"]);
           }
       }

       public static string USR_Apellidos
       {
           get
           {
               return Convert.ToString(System.Web.HttpContext.Current.Session["USR_APELLIDOS"]);
           }
       }

       public static string USR_NombreCompleto
       {
           get
           {
               return Convert.ToString(System.Web.HttpContext.Current.Session["USR_NOMBRECOMPLETO"]);
           }
       }

       public static string USR_DNI
       {
           get
           {
               return Convert.ToString(System.Web.HttpContext.Current.Session["USR_DNI"]);
           }
       }

       public static string LoginID
       {
           get
           {
               return Convert.ToString(System.Web.HttpContext.Current.Request.LogonUserIdentity.Name);
           }
       }

       public static string ComputerID
       {
           get
           {
               return Convert.ToString(System.Web.HttpContext.Current.Request.UserHostName);
           }
       }

    }


}
